package com.ffapp.rainmonitorcustom.bean;

import com.ffapp.rainmonitorcustom.util.MyUtils;

import my.LogUtil;
import my.TimeUtils;

public class PicListData extends BasisBean {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * addvcd : d3da9a6538cc42d48d8ff997bdbefff8
	 * channelid : 1
	 * id : ca7c846adade495ca3e1d2380b8a585f
	 * iscamera : 1
	 * photocomplatetime : 1542895224000
	 * photocreatetime : 1542895224000
	 * photoid : 6660000000-01-01-181122220000.jpg
	 * photoseetime : 1542895200000
	 * photostatus : 2
	 * phototype : 3
	 * photourl : /sl_photo/6660000000-01-01-181122220000.jpg
	 * stcd : 6660000000
	 * stnm : 水测1
	 * sttp : 0
	 */

	private String addvcd;
	private int channelid;
	private String id;
	private int iscamera;
	private long photocomplatetime;
	private long photocreatetime;
	private String photoid;
	private long photoseetime;
	private int photostatus;
	private int phototype;
	private String photourl;
	private String stcd;
	private String stnm;
	private int sttp;

	public String getAddvcd() {
		return addvcd;
	}

	public void setAddvcd(String addvcd) {
		this.addvcd = addvcd;
	}

	public int getChannelid() {
		return channelid;
	}

	public void setChannelid(int channelid) {
		this.channelid = channelid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getIscamera() {
		return iscamera;
	}

	public void setIscamera(int iscamera) {
		this.iscamera = iscamera;
	}

	public long getPhotocomplatetime() {
		return photocomplatetime;
	}

	public void setPhotocomplatetime(long photocomplatetime) {
		this.photocomplatetime = photocomplatetime;
	}

	public long getPhotocreatetime() {
		return photocreatetime;
	}
	public String getPhotocreatetimeStr() {
		return TimeUtils.getTimeLongToStrByFormat(photocreatetime,"yyyy-MM-dd");
	}

	public void setPhotocreatetime(long photocreatetime) {
		this.photocreatetime = photocreatetime;
	}

	public String getPhotoid() {
		return photoid;
	}

	public void setPhotoid(String photoid) {
		this.photoid = photoid;
	}

	public long getPhotoseetime() {
		return photoseetime;
	}

	public void setPhotoseetime(long photoseetime) {
		this.photoseetime = photoseetime;
	}

	public int getPhotostatus() {
		return photostatus;
	}

	public void setPhotostatus(int photostatus) {
		this.photostatus = photostatus;
	}

	public int getPhototype() {
		return phototype;
	}

	public void setPhototype(int phototype) {
		this.phototype = phototype;
	}

	public String getPhotourl() {
		return photourl;
	}
	public String getPhotourl_Real() {
		LogUtil.i(""+MyUtils.getIp()+photourl);
		return MyUtils.getIp()+photourl;
	}

	public void setPhotourl(String photourl) {
		this.photourl = photourl;
	}

	public String getStcd() {
		return stcd;
	}

	public void setStcd(String stcd) {
		this.stcd = stcd;
	}

	public String getStnm() {
		return stnm;
	}

	public void setStnm(String stnm) {
		this.stnm = stnm;
	}

	public int getSttp() {
		return sttp;
	}

	public void setSttp(int sttp) {
		this.sttp = sttp;
	}
}
